package com.ruoyi.constituent.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 成分对象 constituent_data
 * 
 * @author weihanqiang
 * @date 2025-04-30
 */
public class ConstituentData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 成分id */
    private Long constituentId;

    /** 成分编号 */
    @Excel(name = "成分编号")
    private String constituentNo;

    /** 成分名称 */
    @Excel(name = "成分名称")
    private String constituentName;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long isDelete;

    /** 新增人id */
    @Excel(name = "新增人id")
    private Long creatorId;

    /** 新增人 */
    @Excel(name = "新增人")
    private String creator;

    /** 修改人id */
    @Excel(name = "修改人id")
    private Long modifierId;

    /** 修改人 */
    @Excel(name = "修改人")
    private String modifier;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyTime;

    public void setConstituentId(Long constituentId) 
    {
        this.constituentId = constituentId;
    }

    public Long getConstituentId() 
    {
        return constituentId;
    }

    public void setConstituentNo(String constituentNo) 
    {
        this.constituentNo = constituentNo;
    }

    public String getConstituentNo() 
    {
        return constituentNo;
    }

    public void setConstituentName(String constituentName) 
    {
        this.constituentName = constituentName;
    }

    public String getConstituentName() 
    {
        return constituentName;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }

    public void setCreatorId(Long creatorId) 
    {
        this.creatorId = creatorId;
    }

    public Long getCreatorId() 
    {
        return creatorId;
    }

    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }

    public void setModifierId(Long modifierId) 
    {
        this.modifierId = modifierId;
    }

    public Long getModifierId() 
    {
        return modifierId;
    }

    public void setModifier(String modifier) 
    {
        this.modifier = modifier;
    }

    public String getModifier() 
    {
        return modifier;
    }

    public void setModifyTime(Date modifyTime) 
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() 
    {
        return modifyTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("constituentId", getConstituentId())
            .append("constituentNo", getConstituentNo())
            .append("constituentName", getConstituentName())
            .append("remarks", getRemarks())
            .append("isDelete", getIsDelete())
            .append("creatorId", getCreatorId())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("modifierId", getModifierId())
            .append("modifier", getModifier())
            .append("modifyTime", getModifyTime())
            .toString();
    }
}
